package Service.Impl;

import Dao.Impl.UserDaoImplMysql;
import Dao.Impl.UserDaoRedis;
import Dao.UserDao;
import Service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao;
    private UserDao userDadRedis;
    public void setUserDadRedis(UserDaoRedis userDadRedis) {
        this.userDadRedis = userDadRedis;
    }
    public void setUserDao(UserDaoImplMysql userDao) {
        this.userDao=userDao;
    }

    @Override
    public void getbyId() {
        userDao.getbyId();
        userDadRedis.getbyId();
    }


}
